package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "PostMedia", description = "帖子媒体")
public class PostMedia{
    @Excel(name = "ID")
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @Excel(name = "帖子ID")
    @ApiModelProperty(value = "帖子ID")
    private Long postId;

    @Excel(name = "媒体类型")
    @ApiModelProperty(value = "媒体类型 1、图片 2、视频")
    private String mediaType;

    @Excel(name = "媒体url")
    @ApiModelProperty(value = "媒体url", required = true)
    private String url;

    @Excel(name = "媒体大小字节")
    @ApiModelProperty(value = "媒体大小字节")
    private Long sizeBytes;

    @Excel(name = "时长毫秒")
    @ApiModelProperty(value = "时长毫秒")
    private String durationMs;

    @Excel(name = "排序序号")
    @ApiModelProperty(value = "排序序号")
    private Integer orderIndex;

}
